events = [
# =============================
# BIKE TO WORK DAY
# =============================
{"name": "bike_to_work_2011", "type": "cycling",
"start": "2011-05-20 05:00", "end": "2011-05-20 12:00"},
{"name": "bike_to_work_2012", "type": "cycling",
"start": "2012-05-18 05:00", "end": "2012-05-18 12:00"},
{"name": "bike_to_work_2013", "type": "cycling",
"start": "2013-05-17 05:00", "end": "2013-05-17 12:00"},
{"name": "bike_to_work_2014", "type": "cycling",
"start": "2014-05-16 05:00", "end": "2014-05-16 12:00"},
{"name": "bike_to_work_2015", "type": "cycling",
"start": "2015-05-15 05:00", "end": "2015-05-15 12:00"},
{"name": "bike_to_work_2016", "type": "cycling",
"start": "2016-05-20 05:00", "end": "2016-05-20 12:00"},
{"name": "bike_to_work_2017", "type": "cycling",
"start": "2017-05-19 05:00", "end": "2017-05-19 12:00"},
{"name": "bike_to_work_2018", "type": "cycling",
"start": "2018-05-18 05:00", "end": "2018-05-18 12:00"},
{"name": "bike_to_work_2019", "type": "cycling",
"start": "2019-05-17 05:00", "end": "2019-05-17 12:00"},
{"name": "bike_to_work_2021", "type": "cycling",
"start": "2021-05-21 05:00", "end": "2021-05-21 12:00"},
{"name": "bike_to_work_2022", "type": "cycling",
"start": "2022-05-20 05:00", "end": "2022-05-20 12:00"},
{"name": "bike_to_work_2023", "type": "cycling",
"start": "2023-05-19 05:00", "end": "2023-05-19 12:00"},
# =============================
# ARMED FORCES CYCLING CLASSIC
# =============================
{"name": "armed_forces_2021", "type": "cycling",
"start": "2021-06-05 00:00", "end": "2021-06-06 23:59"},
{"name": "armed_forces_2022", "type": "cycling",
"start": "2022-06-04 00:00", "end": "2022-06-05 23:59"},
{"name": "armed_forces_2023", "type": "cycling",
"start": "2023-06-03 00:00", "end": "2023-06-04 23:59"},
# =============================
# WABA 50 STATES RIDE
# =============================
{"name": "waba_2021", "type": "cycling",
"start": "2021-09-11 00:00", "end": "2021-09-11 23:59"},
{"name": "waba_2022", "type": "cycling",
"start": "2022-09-10 00:00", "end": "2022-09-10 23:59"},
{"name": "waba_2023", "type": "cycling",
"start": "2023-09-16 00:00", "end": "2023-09-16 23:59"},
# =============================
# INDEPENDENCE DAY
# =============================
{"name": "july4_2011", "type": "holiday",
"start": "2011-07-04 00:00", "end": "2011-07-04 23:59"},
{"name": "july4_2012", "type": "holiday",
"start": "2012-07-04 00:00", "end": "2012-07-04 23:59"},
{"name": "july4_2013", "type": "holiday",
"start": "2013-07-04 00:00", "end": "2013-07-04 23:59"},
{"name": "july4_2014", "type": "holiday",
"start": "2014-07-04 00:00", "end": "2014-07-04 23:59"},
{"name": "july4_2015", "type": "holiday",
"start": "2015-07-04 00:00", "end": "2015-07-04 23:59"},
{"name": "july4_2016", "type": "holiday",
"start": "2016-07-04 00:00", "end": "2016-07-04 23:59"},
{"name": "july4_2017", "type": "holiday",
"start": "2017-07-04 00:00", "end": "2017-07-04 23:59"},
{"name": "july4_2018", "type": "holiday",
"start": "2018-07-04 00:00", "end": "2018-07-04 23:59"},
{"name": "july4_2019", "type": "holiday",
"start": "2019-07-04 00:00", "end": "2019-07-04 23:59"},
# =============================
# NATIONAL MALL FESTIVALS
# =============================
{"name": "memorial_day_2018", "type": "holiday",
"start": "2018-05-26 00:00", "end": "2018-05-28 23:59"},
{"name": "memorial_day_2019", "type": "holiday",
"start": "2019-05-25 00:00", "end": "2019-05-27 23:59"},
{"name": "labor_day_2018", "type": "holiday",
"start": "2018-09-01 00:00", "end": "2018-09-03 23:59"},
{"name": "labor_day_2019", "type": "holiday",
"start": "2019-08-31 00:00", "end": "2019-09-02 23:59"},
# =============================
# NATIONAL MARATHON
# =============================
{"name": "dc_marathon_2018", "type": "sport",
"start": "2018-03-18 05:00", "end": "2018-03-18 14:00"},
{"name": "dc_marathon_2019", "type": "sport",
"start": "2019-03-17 05:00", "end": "2019-03-17 14:00"},
# =============================
# SMITHSONIAN FOLKLIFE FESTIVAL
# =============================
{"name": "smithsonian_2018", "type": "festival",
"start": "2018-06-27 00:00", "end": "2018-07-08 23:59"},
{"name": "smithsonian_2019", "type": "festival",
"start": "2019-06-26 00:00", "end": "2019-07-07 23:59"}
]
event_dates = pd.to_datetime(fechas_eventos).date